package com.foreknow.dao;

import com.foreknow.model.Employee;

import java.util.HashMap;
import java.util.List;

public interface EmployeeMapper {
    /**
     * 根据id查询
     * @param params HashMap<String,Object> params
     * @return List<Employee>
     */
    public List<Employee> selectEmployeeByIdLike(HashMap<String,Object> params);

    /**
     * 登录
     * @param params HashMap<String,Object> params
     * @return List<Employee>
     */
    public List<Employee> selectEmployeeByLoginLike(HashMap<String,Object> params);

    /**
     * 选择
     * @param params HashMap<String,Object> params
     * @return List<Employee>
     */
    public List<Employee> selectEmployeeChoose(HashMap<String,Object> params);

    public List<Employee> findEmployeeLike(HashMap<String,Object> params);

    // public List<Employee> selectEmployeeLike(HashMap<String,Object> params);

    public Employee selectEmployeeWithId(Integer id);

    public void updateEmployee(Employee employee);

    public List<Employee> selectEmployeeIn(List<Integer> ids);










}
